//本代码文件由代码生成器生成
//时间：2011-03-24 23:46:49

using System;
using System.Collections.Generic;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// PE_Client客户表模型类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Client
    {
        /// <summary>
        /// 客户ID
        /// </summary>
        public Int32 ClientID
        {
            get;
            set;
        }
        /// <summary>
        /// 上级客户ID
        /// </summary>
        public Int32 ParentID
        {
            get;
            set;
        }
        /// <summary>
        /// 客户编号
        /// </summary>
        public String ClientNum
        {
            get;
            set;
        }
        /// <summary>
        /// 客户类别，0--企业客户，1--个人客户
        /// </summary>
        public Int32 ClientType
        {
            get;
            set;
        }
        /// <summary>
        /// 客户名称（姓名）
        /// </summary>
        public String ClientName
        {
            get;
            set;
        }
        /// <summary>
        /// 助记名称（简称）
        /// </summary>
        public String ShortedForm
        {
            get;
            set;
        }
        /// <summary>
        /// 区域
        /// </summary>
        public Int32 Area
        {
            get;
            set;
        }
        /// <summary>
        /// 行业
        /// </summary>
        public Int32 ClientField
        {
            get;
            set;
        }
        /// <summary>
        /// 价值评估
        /// </summary>
        public Int32 ValueLevel
        {
            get;
            set;
        }
        /// <summary>
        /// 信用等级
        /// </summary>
        public Int32 CreditLevel
        {
            get;
            set;
        }
        /// <summary>
        /// 重要程度
        /// </summary>
        public Int32 Importance
        {
            get;
            set;
        }
        /// <summary>
        /// 关系等级
        /// </summary>
        public Int32 ConnectionLevel
        {
            get;
            set;
        }
        /// <summary>
        /// 客户组别
        /// </summary>
        public Int32 GroupID
        {
            get;
            set;
        }
        /// <summary>
        /// 客户来源
        /// </summary>
        public Int32 SourceType
        {
            get;
            set;
        }
        /// <summary>
        /// 阶段
        /// </summary>
        public Int32 PhaseType
        {
            get;
            set;
        }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remark
        {
            get;
            set;
        }
        /// <summary>
        /// 回访次数
        /// </summary>
        public Int32 VisitTimes
        {
            get;
            set;
        }
        /// <summary>
        /// 服务次数
        /// </summary>
        public Int32 ServiceTimes
        {
            get;
            set;
        }
        /// <summary>
        /// 投诉次数
        /// </summary>
        public Int32 ComplainTimes
        {
            get;
            set;
        }
        /// <summary>
        /// 上次回访时间
        /// </summary>
        public System.DateTime LastVisitTime
        {
            get;
            set;
        }
        /// <summary>
        /// 上次服务时间
        /// </summary>
        public System.DateTime LastServiceTime
        {
            get;
            set;
        }
        /// <summary>
        /// 上次投诉时间
        /// </summary>
        public System.DateTime LastComplainTime
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime UpdateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 所有者
        /// </summary>
        public String Owner
        {
            get;
            set;
        }
        /// <summary>
        /// 资金余额
        /// </summary>
        public System.Decimal Balance
        {
            get;
            set;
        }
        /// <summary>
        /// 最近联系时间
        /// </summary>
        public System.DateTime LastContactedTime
        {
            get;
            set;
        }
        /// <summary>
        /// 原所有者
        /// </summary>
        public String OldOwner
        {
            get;
            set;
        }
        /// <summary>
        /// 是否商业用户
        /// </summary>
        public Boolean IsBusiness
        {
            get;
            set;
        }
    }
}
